﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Commnications
{
    public class EasyResultT<T> : EasyResult
    {
        public EasyResultT(bool isSuccess):base(isSuccess)
        {
        }
        public EasyResultT(bool isSuccess,T data) : this(isSuccess)
        {
            Data = data;
            WrapData = data;
        }
        /// <summary>
        /// 数据
        /// </summary>
        public T Data { get; set; }
    }
}
